﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Convert.LOTSmodel
{
    public class Sales
    {
        public int SaleID;
        public int StaffID;
        public int ClientID;
        public DateTime TimeDate;
        public long SalesPaymentID;
        public long Type;
        public decimal Tender;
        public decimal BalDue;
        public decimal Change;
        public long AccountID;
    }
    public class SalesPayment
    {
        public long SalesPaymentID;
        public long SaleID;
        public long Type;
        public decimal Tender;
        public decimal BalDue;
        public decimal Change;
        public long AccountID;
    }

    public class SalesTotalCost
    {
        public double Price;
        public double Tax;
        public double Disc;
        public double Quantity;
    }

    public class SaleItem
    {
        public long SaleItemID;
        public int SaleID;
        public int StockID;
        public long ScriptID;
        public string Description;
        public float Cost;
        public float Retail;
        public float Quantity;
        public float Tax;
        public double Total;
        public float Discount;
        public long PersonID;
    }

    public class TransactionDetail
    {
        //public int TransactionNumber;
        public Guid ClerkID;
        public String StrClientNo;
        public DateTime Date;
    }
}
